package com.kefu.call.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kefu.call.model.CallAgent;
import com.kefu.call.vo.*;
import com.kefu.common.mybatis.KefuMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

@DS("fs")
public interface CallAgentMapper extends KefuMapper<CallAgent> {
    /**
     * 坐席工作量统计
     * @param page
     * @param param
     * @return
     */
    Page<CallAgentWorkLoadVo> callWorkloadList(Page<CallAgentWorkLoadVo> page, @Param("param") CallAgentWorkLoadSearchVo param);

    /**
     * 坐席状态统计
     * @param page
     * @param param
     * @return
     */
    Page<CallAgentStatusVo> callAgentStatusList(Page<CallAgentStatusVo> page, @Param("param") CallAgentStatusSearchVo param);
}
